# 6.2
favorite_number = {'zhangsan':2,
                   'lisi':5,
                   'wangwu':7,
                   'zhaoliu':9,
                   'sunqi':11
                   }
num = favorite_number['zhangsan']
print(f"zhangsan's favorite number is {num}.")

num = favorite_number['lisi']
print(f"lisi's favorite number is {num}.")

num = favorite_number['wangwu']
print(f"wangwu's favorite number is {num}.")

num = favorite_number['zhaoliu']
print(f"zhaoliu's favorite number is {num}.")

num = favorite_number['sunqi']
print(f"sunqi's favorite number is {num}.")